> For the complete documentation index, see [llms.txt](https://dev.ishare.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.ishare.eu/version-2.2/participant-registry-role/parties-single-party-options.md).

# Parties (single party) \[OPTIONS]

The `OPTIONS` request to the `/parties/{id}` endpoint returns a list of supported HTTP methods that can be used with the `/parties/{id}` resource. This allows clients to determine which operations are permitted by the server for this endpoint.

## OPTIONS /\[v2.2]/parties/{id}

> Retrieves allowed HTTP methods for this endpoint.

```json
{"openapi":"3.0.0","info":{"title":"iSHARE API specifications","version":"2.2"},"tags":[{"name":"Participant Registry","description":"Endpoints that form the iSHARE Participant Registry API specification."}],"servers":[{"description":"iSHARE UAT network base domain","url":"https://isharetest.net"},{"description":"iSHARE TEST network base domain","url":"https://test.ishareworks.nl"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","description":"OAuth 2.0 authorization based on bearer token. MUST contain “Bearer “ + access token value. Must be provided if restricted endpoints are needed."}},"headers":{"optionsAllowHeader":{"description":"List of allowed HTTP methods","schema":{"type":"string"}}}},"paths":{"/[v2.2]/parties/{id}":{"options":{"tags":["Participant Registry"],"parameters":[{"style":"simple","name":"id","description":"The id of the party for which the allowed HTTP methods must be fetched","schema":{"type":"string"},"in":"path","required":true}],"summary":"Retrieves allowed HTTP methods for this endpoint.","operationId":"/party-options","responses":{"204":{"headers":{"Allow":{"$ref":"#/components/headers/optionsAllowHeader"}},"description":"List the allowed HTTP methods for this endpoint"}}}}}}
```

### Example request

```
> Authorization: Bearer IIeDIrdnYo2ngwDQYJKoZIhvcNAQELBQAwSDEZMBcGA1UEAwwQaVNIQ

OPTIONS /parties/{id}
```

*{id} must be replaced by the actual party identifier for which HTTP OPTIONS are requested.*

### Example response

The server provides the response with status code 204.

The response contains the following HTTP header:

| Header | Example value           |
| ------ | ----------------------- |
| Allow  | GET, POST, PUT, OPTIONS |
