# 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 |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev.ishare.eu/version-2.2/participant-registry-role/parties-single-party-options.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
